package com.lv.dhart.ui.fragment.fghome.juhe.news;

import android.content.Context;
import android.view.View;

import com.lv.dhart.R;
import com.lv.dhart.beans.JuheNewsBean;
import com.smart.holder.iinterface.IViewHolder;
import com.smart.holder.iinterface.IViewHolderHelper;

import java.util.List;


/**
 * Created by binny on 2018/6/8.
 */

public class JuheViewHolderHelper implements IViewHolderHelper<JuheViewHolder, JuheNewsBean.ResultBean.DataBean> {
    @Override
    public IViewHolder initItemViewHolder(JuheViewHolder viewHolder, View convertView) {
        viewHolder = new JuheViewHolder();
        viewHolder.mTitle = convertView.findViewById(R.id.juhe_news_title_tv);
        viewHolder.mAuthor = convertView.findViewById(R.id.juhe_news_author_tv);
        viewHolder.mDate = convertView.findViewById(R.id.juhe_news_date_tv);
        viewHolder.mImageView = convertView.findViewById(R.id.juhe_news_img_iv);
        viewHolder.mRelativeLayout = convertView.findViewById(R.id.item_rl);
        return viewHolder;
    }

    @Override
    public void bindListDataToView(Context context, List<JuheNewsBean.ResultBean.DataBean> iBaseBeanList, JuheViewHolder viewHolder, int position) {

    }



}
